package com.juc.cyclicbarrier.cyclicbarrier7;

public class MyThreadA extends Thread{

	private MyService myService;
	public MyThreadA (MyService myService) {
		super();
		this.myService = myService;
	}
	
	@Override
	public void run() {
		myService.testMethod();
	}
}
